<?php

namespace App\Models\V1;
use Illuminate\Database\Eloquent\Factories\HasFactory;

class CommonConfig extends BaseModel
{
    use HasFactory;

    protected $connection;
    protected $table="common_config";
    protected $fillable=['id','ulid','key','title','content','state'];

    public function __construct(array $attributes = [])
    {
        parent::__construct($attributes);
        $this->connection = config('database.connections.biqi_business.database');
    }

}
